package com.gujianjian.com.controller;


import com.gujianjian.com.annotation.Loggable;
import com.gujianjian.com.service.SampleService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/test")
public class TestController {

    @Autowired
    private SampleService sampleService;

    @RequestMapping("/m1")
    @Loggable
    public String m1(){
        return "test";
    }
}
